package com.sugar.subscribe.course.module.business.controller.admin.serviceclass.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.sugar.subscribe.course.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.sugar.subscribe.course.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 服务分类分页 Request VO")
@Data
public class ServiceClassPageReqVO extends PageParam {

    @Schema(description = "分类名称", example = "王五")
    private String name;

    @Schema(description = "父级分类ID", example = "19230")
    private Long parentId;

    @Schema(description = "首页推荐（0否 1是）")
    private Boolean homeRecommend;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}